home *** CD-ROM | disk | FTP | other *** search
/ Dynamic HTML Construction Kit / Dynamic HTML Construction Kit.iso / source_code / dhtmlunl / dhtml.exe / CD Content / Chap08 / dun8_1.txt next >
Encoding:
Text File  |  1997-12-18  |  518 b   |  24 lines

  1. <html>
  2.  
  3. <head>
  4.  
  5. <title>A Script!</title>
  6.  
  7. </head>
  8.  
  9. <script>
  10.  
  11. <!-ù hide from old browsers --//
  12.  
  13.  
  14.  
  15.    //This line pops up a message box and
  16.  
  17.    //serves as a frightening reminder of
  18.  
  19.    //just how far we've come.
  20.  
  21.    alert('My First Script!');
  22.  
  23.  
  24.  
  25.    //changes the statues bar in your Web
  26.  
  27.    //browser from the old "document done." To
  28.  
  29.    //a more personal note.
  30.  
  31.    window.status = ('My First Page With a Script!');
  32.  
  33.  
  34.  
  35. //--- end hiding -->
  36.  
  37. </script>
  38.  
  39. <body>
  40.  
  41. <h1>Got It?</h1>
  42.  
  43. </body>
  44.  
  45. </html>
  46.  
  47.